package top.dancun.easuser.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import top.dancun.common.utils.R;
import top.dancun.easuser.config.FeignConfig;

@Component
@FeignClient(name = "EAS-student",configuration = FeignConfig.class)
public interface StudentFeign {
    @GetMapping("/easstudent/student/info/{uid}")
    public R getStudent(@PathVariable String uid);

}
